package com.lvwenguo.service;

import com.lvwenguo.model.CategoryPurchaseList;
import com.lvwenguo.model.InputProductPurchase;
import com.lvwenguo.model.SupplierList;

import java.util.List;

//shanbgpin
public interface PurchaseServiceInter {

    //查询供应商名
    List<InputProductPurchase> selectSupplierName();
    //查询品类名
    List<InputProductPurchase> selectCategoryName();
    //商品录入执行方法（重点）
    String InputProductData(InputProductPurchase inputProductPurchase,String sessionname);
    //进货记录数据回显
   List<CategoryPurchaseList> selectCategoryPurchaseList();
    //进货记录页面模糊查询
   List<CategoryPurchaseList> selectMohu(String name);
    //供应商信息查询
    List<SupplierList> selectSupplier();
    //用于模糊查询信息
     List<SupplierList> selectSupplierMohu(String name);
    //用于添加供应商信息
     int addSupplier(SupplierList supplierList);
    //用于数据回显
 SupplierList selectSup(int id);
    //更新供应商信息
 int updateSupplier(SupplierList supplierList);
    //模拟删除
 int deleteSupplier(int id);
 //用于异步交互实现数据查询
 CategoryPurchaseList selectYibu(String bar_code);
}
